package com.avcdata.national.module;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * NewAOSApp
 * com.avcdata.national.module
 * Created by lic on 2017/9/20.
 * CSDN http://blog.csdn.net/lucasey
 */

public class StructureInfo implements Serializable {

    /**
     * message : string
     * returnValue : {"brandThenPriceSegment":{},"brandThenProductStructure":{},"priceSegments":[{"category":"string","displayOrder":0,"highestPrice":0,"lowestPrice":0,"priceSegment":"string"}],"productTypes":[{"category":"string","displayOrder":0,"productType":"string"}]}
     * secretKey : string
     * success : true
     * times : {}
     */

    private String message;
    private ReturnValueBean returnValue;
    private String secretKey;
    private boolean success;
    private String times;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ReturnValueBean getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(ReturnValueBean returnValue) {
        this.returnValue = returnValue;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public static class ReturnValueBean {
        /**
         * brandThenPriceSegment : {}
         * brandThenProductStructure : {}
         * priceSegments : [{"category":"string","displayOrder":0,"highestPrice":0,"lowestPrice":0,"priceSegment":"string"}]
         * productTypes : [{"category":"string","displayOrder":0,"productType":"string"}]
         */

        private Map<String, Map<String, brandThenProductStructureBean>> brandThenProductStructure;
        private Map<String, Map<String, brandThenPriceSegmentBean>> brandThenPriceSegment;
        private List<PriceSegmentsBean> priceSegments;
        private List<ProductTypesBean> productTypes;

        public Map<String, Map<String, brandThenPriceSegmentBean>> getBrandThenPriceSegment() {
            return brandThenPriceSegment;
        }

        public void setBrandThenPriceSegment(Map<String, Map<String, brandThenPriceSegmentBean>> brandThenPriceSegment) {
            this.brandThenPriceSegment = brandThenPriceSegment;
        }

        public Map<String, Map<String, brandThenProductStructureBean>> getBrandThenProductStructure() {
            return brandThenProductStructure;
        }

        public void setBrandThenProductStructure(Map<String, Map<String, brandThenProductStructureBean>> brandThenProductStructure) {
            this.brandThenProductStructure = brandThenProductStructure;
        }

        public List<PriceSegmentsBean> getPriceSegments() {
            return priceSegments;
        }

        public void setPriceSegments(List<PriceSegmentsBean> priceSegments) {
            this.priceSegments = priceSegments;
        }

        public List<ProductTypesBean> getProductTypes() {
            return productTypes;
        }

        public void setProductTypes(List<ProductTypesBean> productTypes) {
            this.productTypes = productTypes;
        }

        public static class brandThenProductStructureBean{
            /**
             * yearWeek : 17W38
             * category : 净化器
             * brand : all
             * productType : 400-499
             * volume : 255147
             * amount : 7.9247402711E8
             * volumeStructureMarketShare : 11.8
             * amountStructureMarketShare : 17.97
             * volumeMarketShareBasisRatio : 5.06
             * volumeMarketShareLinkRelativeRatio : null
             * amountMarketShareBasisRatio : 4.74
             * amountMarketShareLinkRelativeRatio : null
             * avgPrice : 3105.95
             * avgPriceBasisRatio : 6.72
             * avgPriceLinkRelativeRatio : null
             */

            private String yearWeek;
            private String category;
            private String brand;
            private String productType;
            private String volume;
            private String amount;
            private String volumeStructureMarketShare;
            private String amountStructureMarketShare;
            private String volumeMarketShareBasisRatio;
            private String volumeMarketShareLinkRelativeRatio;
            private String amountMarketShareBasisRatio;
            private String amountMarketShareLinkRelativeRatio;
            private String avgPrice;
            private String avgPriceBasisRatio;
            private String avgPriceLinkRelativeRatio;

            public String getYearWeek() {
                return yearWeek;
            }

            public void setYearWeek(String yearWeek) {
                this.yearWeek = yearWeek;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getProductType() {
                return productType;
            }

            public void setProductType(String productType) {
                this.productType = productType;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getVolumeStructureMarketShare() {
                return volumeStructureMarketShare;
            }

            public void setVolumeStructureMarketShare(String volumeStructureMarketShare) {
                this.volumeStructureMarketShare = volumeStructureMarketShare;
            }

            public String getAmountStructureMarketShare() {
                return amountStructureMarketShare;
            }

            public void setAmountStructureMarketShare(String amountStructureMarketShare) {
                this.amountStructureMarketShare = amountStructureMarketShare;
            }

            public String getVolumeMarketShareBasisRatio() {
                return volumeMarketShareBasisRatio;
            }

            public void setVolumeMarketShareBasisRatio(String volumeMarketShareBasisRatio) {
                this.volumeMarketShareBasisRatio = volumeMarketShareBasisRatio;
            }

            public String getVolumeMarketShareLinkRelativeRatio() {
                return volumeMarketShareLinkRelativeRatio;
            }

            public void setVolumeMarketShareLinkRelativeRatio(String volumeMarketShareLinkRelativeRatio) {
                this.volumeMarketShareLinkRelativeRatio = volumeMarketShareLinkRelativeRatio;
            }

            public String getAmountMarketShareBasisRatio() {
                return amountMarketShareBasisRatio;
            }

            public void setAmountMarketShareBasisRatio(String amountMarketShareBasisRatio) {
                this.amountMarketShareBasisRatio = amountMarketShareBasisRatio;
            }

            public String getAmountMarketShareLinkRelativeRatio() {
                return amountMarketShareLinkRelativeRatio;
            }

            public void setAmountMarketShareLinkRelativeRatio(String amountMarketShareLinkRelativeRatio) {
                this.amountMarketShareLinkRelativeRatio = amountMarketShareLinkRelativeRatio;
            }

            public String getAvgPrice() {
                return avgPrice;
            }

            public void setAvgPrice(String avgPrice) {
                this.avgPrice = avgPrice;
            }

            public String getAvgPriceBasisRatio() {
                return avgPriceBasisRatio;
            }

            public void setAvgPriceBasisRatio(String avgPriceBasisRatio) {
                this.avgPriceBasisRatio = avgPriceBasisRatio;
            }

            public String getAvgPriceLinkRelativeRatio() {
                return avgPriceLinkRelativeRatio;
            }

            public void setAvgPriceLinkRelativeRatio(String avgPriceLinkRelativeRatio) {
                this.avgPriceLinkRelativeRatio = avgPriceLinkRelativeRatio;
            }
        }

        public static class brandThenPriceSegmentBean{
            /**
             * yearWeek : 17W38
             * category : 净化器
             * brand : all
             * priceSegment : 4000-4999
             * volume : 78370
             * amount : 3.6081433452E8
             * volumeMarketShare : 3.63
             * amountMarketShare : 8.18
             * volumeMarketShareBasisRatio : 2.03
             * volumeMarketShareLinkRelativeRatio : null
             * amountMarketShareBasisRatio : 3.33
             * amountMarketShareLinkRelativeRatio : null
             */

            private String yearWeek;
            private String category;
            private String brand;
            private String priceSegment;
            private String volume;
            private String amount;
            private String volumeMarketShare;
            private String amountMarketShare;
            private String volumeMarketShareBasisRatio;
            private String volumeMarketShareLinkRelativeRatio;
            private String amountMarketShareBasisRatio;
            private String amountMarketShareLinkRelativeRatio;

            public String getYearWeek() {
                return yearWeek;
            }

            public void setYearWeek(String yearWeek) {
                this.yearWeek = yearWeek;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getPriceSegment() {
                return priceSegment;
            }

            public void setPriceSegment(String priceSegment) {
                this.priceSegment = priceSegment;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getVolumeMarketShare() {
                return volumeMarketShare;
            }

            public void setVolumeMarketShare(String volumeMarketShare) {
                this.volumeMarketShare = volumeMarketShare;
            }

            public String getAmountMarketShare() {
                return amountMarketShare;
            }

            public void setAmountMarketShare(String amountMarketShare) {
                this.amountMarketShare = amountMarketShare;
            }

            public String getVolumeMarketShareBasisRatio() {
                return volumeMarketShareBasisRatio;
            }

            public void setVolumeMarketShareBasisRatio(String volumeMarketShareBasisRatio) {
                this.volumeMarketShareBasisRatio = volumeMarketShareBasisRatio;
            }

            public String getVolumeMarketShareLinkRelativeRatio() {
                return volumeMarketShareLinkRelativeRatio;
            }

            public void setVolumeMarketShareLinkRelativeRatio(String volumeMarketShareLinkRelativeRatio) {
                this.volumeMarketShareLinkRelativeRatio = volumeMarketShareLinkRelativeRatio;
            }

            public String getAmountMarketShareBasisRatio() {
                return amountMarketShareBasisRatio;
            }

            public void setAmountMarketShareBasisRatio(String amountMarketShareBasisRatio) {
                this.amountMarketShareBasisRatio = amountMarketShareBasisRatio;
            }

            public String getAmountMarketShareLinkRelativeRatio() {
                return amountMarketShareLinkRelativeRatio;
            }

            public void setAmountMarketShareLinkRelativeRatio(String amountMarketShareLinkRelativeRatio) {
                this.amountMarketShareLinkRelativeRatio = amountMarketShareLinkRelativeRatio;
            }
        }
    }

    public static class PriceSegmentsBean {
        /**
         * category : string
         * displayOrder : 0
         * highestPrice : 0
         * lowestPrice : 0
         * priceSegment : string
         */

        private String category;
        private String displayOrder;
        private String highestPrice;
        private String lowestPrice;
        private String priceSegment;

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getDisplayOrder() {
            return displayOrder;
        }

        public void setDisplayOrder(String displayOrder) {
            this.displayOrder = displayOrder;
        }

        public String getHighestPrice() {
            return highestPrice;
        }

        public void setHighestPrice(String highestPrice) {
            this.highestPrice = highestPrice;
        }

        public String getLowestPrice() {
            return lowestPrice;
        }

        public void setLowestPrice(String lowestPrice) {
            this.lowestPrice = lowestPrice;
        }

        public String getPriceSegment() {
            return priceSegment;
        }

        public void setPriceSegment(String priceSegment) {
            this.priceSegment = priceSegment;
        }
    }

    public static class ProductTypesBean {
        /**
         * category : string
         * displayOrder : 0
         * productType : string
         */

        private String category;
        private String displayOrder;
        private String productType;

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getDisplayOrder() {
            return displayOrder;
        }

        public void setDisplayOrder(String displayOrder) {
            this.displayOrder = displayOrder;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }
    }
}